package kr.hyosang.dkbs.kiosk.widget;


import javafx.scene.control.Label;
import javafx.scene.layout.Pane;
import javafx.scene.layout.VBox;

public class News extends WidgetBase {
	private Pane mMainPane = null;
	
	public News(Pane mainPane) {
		mMainPane = mainPane;
	
		init();
	}
	
	private void init() {
		VBox box = new VBox();
		
		Label title = new Label();
		title.setText("Title");
		box.getChildren().add(title);
		
		Label content = new Label();
		content.setText("Content");
		box.getChildren().add(content);
		
		mMainPane.getChildren().add(box);
	}

	@Override
	protected String getTag() {
		return "News";
	}

}
